﻿using Microsoft.Extensions.Options;
using System;

namespace Yichat.MicroService.Model
{
    public class SqlServerCacheOptions : IOptions<SqlServerCacheOptions>
    {
        public TimeSpan? ExpiredItemsDeletinInterval { get; set; }
        public string ConnectionString { get; set; }
        public string SchemaName { get; set; }
        public string TableName { get; set; }
        public SqlServerCacheOptions Value
        {
            get
            {
                return this;
            }
        }
    }
}
